﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GIMS.DAL;
using System.Data;

namespace KPIS.GERP.GIMS.BLL
{
    public class DispenseTypeBLL
    {
        private static readonly DispenseTypeDAL dal = new DispenseTypeDAL();
        

        public DataSet GetDispenseType(Nullable<int> dispense_type_seq)
        {
            return dal.GetDispenseType(dispense_type_seq);
        }
        public void Insert(string dispense_type_name, string remark, int created_by)
        {
            dal.Insert(dispense_type_name , remark, created_by);
        }
        public void Update(int dispense_type_seq, string dispense_type_name, string remark, int updated_by)
        {
            dal.Update(dispense_type_seq, dispense_type_name, remark, updated_by);
        }
        public void Delete(int Sequence, int id)
        {
            dal.Delete(Sequence, id);
        }
    }
}
